package com.okyai.kt.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 档案对象 kt_record
 * 
 * @author okyai
 * @date 2021-03-20
 */
public class Record extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 档案主键 */
    private Long recordId;

    /** 课题主键 */
    @Excel(name = "课题主键")
    private Long topId;

    /** 方案主键 */
    @Excel(name = "方案主键")
    private Long planId;

    /** 研究对象主键 */
    @Excel(name = "研究对象主键")
    private Long demographyId;

    /** 研究对象名称 */
    @Excel(name = "研究对象名称")
    private String demographyName;

    /** 检查时间 */
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 医生主键 */
    @Excel(name = "医生主键")
    private Long userId;

    /** 医生名称 */
    @Excel(name = "医生名称")
    private String userName;

    /** 中心号 */
    @Excel(name = "中心号")
    private String centerNo;

    /** 筛选号 */
    @Excel(name = "筛选号")
    private String screeningNo;

    /** 随机号 */
    @Excel(name = "随机号")
    private String randomNo;

    /** 医院主键 */
    @Excel(name = "医院主键")
    private Long deptId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String deptName;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String completeStatus;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setTopId(Long topId) 
    {
        this.topId = topId;
    }

    public Long getTopId() 
    {
        return topId;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setDemographyId(Long demographyId) 
    {
        this.demographyId = demographyId;
    }

    public Long getDemographyId() 
    {
        return demographyId;
    }
    public void setDemographyName(String demographyName) 
    {
        this.demographyName = demographyName;
    }

    public String getDemographyName() 
    {
        return demographyName;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCenterNo(String centerNo) 
    {
        this.centerNo = centerNo;
    }

    public String getCenterNo() 
    {
        return centerNo;
    }
    public void setScreeningNo(String screeningNo) 
    {
        this.screeningNo = screeningNo;
    }

    public String getScreeningNo() 
    {
        return screeningNo;
    }
    public void setRandomNo(String randomNo) 
    {
        this.randomNo = randomNo;
    }

    public String getRandomNo() 
    {
        return randomNo;
    }

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setCompleteStatus(String completeStatus) 
    {
        this.completeStatus = completeStatus;
    }

    public String getCompleteStatus() 
    {
        return completeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("topId", getTopId())
            .append("planId", getPlanId())
            .append("demographyId", getDemographyId())
            .append("demographyName", getDemographyName())
            .append("checkTime", getCheckTime())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("centerNo", getCenterNo())
            .append("screeningNo", getScreeningNo())
            .append("randomNo", getRandomNo())
            .append("tenantId", getDeptId())
            .append("deptName", getDeptName())
            .append("completeStatus", getCompleteStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
